package com.huawei.appgallery.forum.option.post.view;

import android.view.View;
import android.view.View.OnFocusChangeListener;
import android.widget.LinearLayout;

class RichTextEditor$10 implements OnFocusChangeListener {
    final /* synthetic */ RichTextEditor ˊ;

    RichTextEditor$10(RichTextEditor richTextEditor) {
        this.ˊ = richTextEditor;
    }

    public void onFocusChange(View view, boolean z) {
        if (z && (view.getParent() instanceof LinearLayout)) {
            RichTextEditor.ॱ(this.ˊ, (LinearLayout) view.getParent());
            RichTextEditor.ॱ(this.ˊ, false);
            RichTextEditor.ˏ(this.ˊ, true);
        }
    }
}
